package com.usvisatrack.core.dao.model;

import java.util.Date;
import java.util.LinkedHashSet;
import java.util.Set;

import com.usvisatrack.core.common.DataObject;

/**
 * SocialMedia ORM
 * 
 * @author YuCheng Hu
 *
 */
public class SocialMedia extends DataObject {

	private String name;
	private String url;
	private String key;
	private String keySecret;
	private String token;
	private String tokenSecret;

	private Set<VisaStatusLog> visaStatusLogSet = new LinkedHashSet<VisaStatusLog>();

	public SocialMedia() {
		Date date = new Date();
		super.setCreateDate(date);
		super.setModifyDate(date);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getKeySecret() {
		return keySecret;
	}

	public void setKeySecret(String keySecret) {
		this.keySecret = keySecret;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getTokenSecret() {
		return tokenSecret;
	}

	public void setTokenSecret(String tokenSecret) {
		this.tokenSecret = tokenSecret;
	}

	public Set<VisaStatusLog> getVisaStatusLogSet() {
		return visaStatusLogSet;
	}

	public void setVisaStatusLogSet(Set<VisaStatusLog> visaStatusLogSet) {
		this.visaStatusLogSet = visaStatusLogSet;
	}

}
